<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ include file="../include/taglib.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<title>修改会员信息</title>
  	<%@ include file="../include/jsCss.jsp" %>
  </head>
  <body>
      <form action="user!userSaveOrUpdate.html" method="post">
     <table border="1">
     	<tr>
     		<td colspan="2">
     			添加详细信息
     		</td>
     	</tr>
     	<tr>
     		<td>用户名</td>
     		<td>
     			<input type="text" name="userName" value="${userDto.userName }"/>
     			<input type="hidden" name="userId" value="${userDto.userId }"/>
     	   </td>
     	</tr>
     	<tr>
     		<td>密码</td>
     		<td><input type="password" name="userPwd" value="${userDto.userPwd }"/> </td>
     	</tr> 
     	<tr>
			<td>真是姓名</td>
			<td><input type="text" name="realName" value="${userDto.realName }"/> </td>
     	</tr>
     	<tr>
			<td>性别</td>
			<td>
				<s:if test="userDto.userSex == 0">
					<input type="radio" name="userSex" value="0" checked="checked"/>男 
				</s:if>
				<s:else>
					<input type="radio" name="userSex" value="0"/>男 
				</s:else>
				<s:if test="userDto.userSex == 1">
					<input type="radio" name="userSex" value="1" checked="checked"/>女
				</s:if>
				<s:else>
					<input type="radio" name="userSex" value="1"/>女
				</s:else> 
				
			</td>
     	</tr>
     	<tr>
			<td>身份证</td>
			<td><input type="text" name="userIdNo" value="${userDto.userIdNo }"/> </td>
     	</tr>
     	<tr>
			<td>固定电话</td>
			<td><input type="text" name="userMobile" value="${userDto.userMobile }"/> </td>
     	</tr>
     	<tr>
			<td>手机</td>
			<td><input type="text" name="userPhone" value="${userDto.userPhone }"/> </td>
     	</tr>
     	<tr>
			<td>地址</td>
			<td><input type="text" name="userAddress" value="${userDto.userAddress }"/> </td>
     	</tr>
     	<tr>
			<td>邮编</td>
			<td><input type="text" name="userZipCode" value="${userDto.userZipCode }"/> </td>
     	</tr>
     	<tr>
			<td>邮箱</td>
			<td><input type="text" name="userEmail" value="${userDto.userEmail }"/> </td>
     	</tr>
     	<tr>
     		<td colspan="2">
     		  <input type="submit" value="提交" /> 
     		  &nbsp;&nbsp;
     		  <input type="reset" value="重置" />
     	    </td>
     	</tr>
     </table>
     </form>
  </body>
</html>
